package edu.upc.demo.domain;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import edu.upc.demo.domain.Cliente;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import edu.upc.demo.domain.PaqueteTuristico;

@RooJavaBean
@RooToString
@RooEntity
public class Pagos {

    @ManyToOne
    private Cliente codCliente;

    @NotNull
    @Size(max = 30)
    private String nroTarjeta;

    @ManyToOne
    private PaqueteTuristico codPaquete;

    @Size(max = 30)
    private String estatus;
}
